'use strict'

const p2pgoodsList = () => import('@views/transaction/p2pgoodslist')
const p2pgoodsDetail = () => import('@views/transaction/p2pgoodsdetail')
const balance = () => import('@views/transaction/balance')
const history = () => import('@views/transaction/history')
const guarantee = () => import('@views/transaction/guarantee')
const credited = () => import('@views/transaction/credited')
const pickGoods = () => import('@views/transaction/pickGoods')
const pickGoodsDetails = () => import('@views/transaction/pickGoodsDetails')
const exchangeList = () => import('@views/transaction/exchangeList')
const manifest = () => import('@views/transaction/manifest')
const entrust = () => import('@views/transaction/entrust')
const stockTransfer = () => import('@views/transaction/stockTransfer')

export default [
  {
    path: '/p2pgoodsList',
    component: p2pgoodsList,
    meta: {
      title: '商品列表'
    }
  },
  {
    path: '/p2pgoodsDetail/:id/:sid?',
    component: p2pgoodsDetail,
    meta: {
      title: '商品详情'
    }
  },
  {
    path: '/balance',
    component: balance,
    meta: {
      title: '商品详情'
    }
  },
  {
    path: '/history',
    component: history,
    meta: {
      title: '委托历史'
    }
  },
  {
    path: '/guarantee',
    component: guarantee,
    meta: {
      title: '本金保障'
    }
  },
  {
    path: '/credited',
    component: credited,
    meta: {
      title: '收款账户管理'
    }
  },
  {
    path: '/pickGoods',
    component: pickGoods,
    meta: {
      title: '提货'
    }
  },
  {
    path: '/pickGoodsDetails',
    component: pickGoodsDetails,
    meta: {
      title: '商品详情'
    }
  },
  {
    path: '/exchangeList',
    component: exchangeList,
    meta: {
      title: '提货列表'
    }
  },
  {
    path: '/manifest',
    component: manifest,
    meta: {
      title: '奖励商品货单'
    }
  },
  {
    path: '/entrust',
    component: entrust,
    meta: {
      title: '全程委托'
    }
  },
  {
    path: '/stockTransfer',
    component: stockTransfer,
    meta: {
      title: '库存转移'
    }
  }
]
